package com.cmc.cloud.cmclink.doc.vo.blnovo.opbargeagentbroker;

import com.cmc.cloud.cmclink.doc.vo.sovo.attachmentvo.AttachmentBaseVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.Valid;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 提单附件 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 提单附件  Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Valid
public class BlnoAttachmentReqVO extends AttachmentBaseVO {

    @Schema(description = "主键", example = "14386")
    private Long id;

    @Schema(description = "提单号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String blNo;

    @Schema(description = "文件大小", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal fileSize;

    @Schema(description = "操作时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @Schema(description = "操作人", requiredMode = Schema.RequiredMode.REQUIRED)
    private String updater;
}
